Part Number Hot Search : 
NTE1842 FR156 01100 S424GH TFS165 M6270X MAX14 3R3NZ
Product Description
Full Text Search
 

To Download RA17K Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1995 document no. eeu-1536 (o. d. no. eeu-5006) date published may 1995 p printed in japan user's manual doc17k document processor (preliminary)

the information contained in this document is being issued in advance of the production cycle for the device. the parameters for the device may change before final production or nec corporation, at its own discretion, may withdraw the device prior to its production. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec corporation. nec corporation assumes no responsibility for any errors which may appear in this document. nec corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. no license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec corporation or of others. simplehost and emlc-17k are trademarks of nec corporation. ms-dos is a trademark of microsoft corporation. pc/at and pc dos are trademarks of ibm corporation.

preface product outline: the document processor (doc17k) extracts program information from 17k series relocatable assembler (RA17K) or c compiler ( emlc-17k tm ) source programs and documents the information in a specified format. audience: this manual is aimed at those engineers who use RA17K or emlc-17k to develop application systems based on the 17k series 4-bit single-chip microcontroller. organization: this manual consists of the following chapters: general running the document processor types of output listings and options output listings error messages reading this manual: the reader is assumed to be familiar with the concepts of RA17K or emlc-17k . conventions: in this manual, the following symbols are used: ... : indicates repetition. [ ] : elements in brackets are optional. {|} : one of the characters or character strings, delimited by | in braces, must be selected. < > : the actual characters enclosed in the angular brackets are to be specified; often used to indicate a title. cr : carriage return. lf : line feed. tab : horizontal tab.
xxx : any character string. single-byte : single-byte character. double-byte (note) : double-byte character. (note) only the pc-9800 version supports double-byte characters. file naming conventions: [drive-name:][\directory-name\]filename[.extension] a filename includes a drive name and a directory name. a drive name and directory name together constitute a pathname. related documents: note that these related documents may be preliminary editions. these documents are not marked preliminary in this manual. ? documents related to software tools project manager version 1.00 users manual : to be released soon RA17K users manual : to be released soon RA17K utility users manual : to be released soon lk17k users manual : to be released soon emlc-17k version 1.00 users manual : eeu-1427 doc17k users manual : this manual ? documents related to simplehost tm simplehost version 2.0 corresponding to emlc-17k /RA17K users manual, tutorial: to be released soon simplehost version 2.0 corresponding to emlc-17k /RA17K users manual, reference: to be released soon the software package may contain a readme.doc file. the readme.doc file provides information that was not available when the manual was printed. always read the contents of the readme.doc file before attempting to use the product.
contents chapter 1 general ..............................................................................1-1 1.1 configuration ........................................................................1-1 1.2 outline of functions ............................................................1-2 1.3 system configuration ..........................................................1-3 1.3.1 files that are referenced or created ......................................1-4 1.4 operating environment .......................................................1-5 1.5 environmental variable .......................................................1-5 1.6 limitations .............................................................................1-6 chapter 2 running the document processor ..............................2-1 2.1 execution ...............................................................................2-1 2.1.1 execution procedure ...................................................................2-1 2.1.2 sample runs ................................................................................2-3 2.1.3 sample runs without parameters .............................................2-5 2.2 start and end messages ................................................... 2-16 2.3 cancellation (ctrl + c) ................................................... 2-17 chapter 3 supported output listings and options ..................3-11 3.1 options ...................................................................................3-1 3.1.1 options that specify a listing utility ........................................3-2 3.1.2 options common to all listing utilities .....................................3-4 3.1.3 listing-specific options ..............................................................3-6 chapter 4 output listing ..................................................................4-1 4.1 option information listing .................................................4-1 4.2 absolute address format listing .....................................4-3 4.3 cross-reference listing .....................................................4-7 4.3.1 embedded cross-references .....................................................4-7 4.3.2 table cross-references .............................................................4-9 4.4 module map and program map listings ........................ 4-13 4.4.1 map listings ............................................................................... 4-13 4.4.2 symbol listing ............................................................................ 4-18 doc17k user's manual toc - 1
toc - 2 doc17k user's manual contents 4.5 report listing ..................................................................... 4-20 4.6 document listing ............................................................... 4-24 4.6.1 document listing ....................................................................... 4-24 4.6.2 summary rules .......................................................................... 4-28 4.6.3 format definition ....................................................................... 4-33 4.7 call tree listing ................................................................. 4-39 4.8 module listing .................................................................... 4-40 4.9 address map ....................................................................... 4-42 chapter 5 error messages ...............................................................5-1 5.1 error handling ..........................................................................5-1 5.2 error messages ........................................................................5-1 5.3 system error messages .........................................................5-6
list of figures (1/1) figure 1-1. doc17k functions ..................................................................................................1-1 figure 1-2. doc17k system configuration ..............................................................................1-3 figure 3-1. report listing output format (default) ............................................................... 3-13 figure 3-2. document listing output format (default) .......................................................... 3-14 figure 3-3. module listing output format (default) .............................................................. 3-16 figure 3-4. address map output format ................................................................................. 3-16 figure 4-1. sample memory map listing ................................................................................ 4-14 figure 4-2. representation of a data memory map greater than one ............................... 4-15 figure 4-3. summary layout .................................................................................................... 4-29 doc17k user's manual toc - 3
toc - 4 doc17k user's manual contents [memo]
list of tables (1/1) table 2-1. listing utilities ..........................................................................................................2-1 table 3-1. types of output listings and options ...................................................................3-1 table 3-2. options that specify a listing utility .....................................................................3-2 table 3-3. input files required to enable listing output ......................................................3-3 table 3-4. input file extensions ...............................................................................................3-4 table 3-5. options that are common to all listing utilities .................................................3-4 table 3-6. -tab option settings ...............................................................................................3-5 table 3-7. -form option settings ...........................................................................................3-5 table 3-8. -head option settings ............................................................................................3-6 table 3-9. absolute address format listing options .............................................................3-6 table 3-10. -gen option settings ..............................................................................................3-7 table 3-11. -cond option settings ...........................................................................................3-7 table 3-12. -seq option settings ..............................................................................................3-7 table 3-13. -branch option settings ......................................................................................3-8 table 3-14. module map listing and program map listing options .......................................3-8 table 3-15. -axis option settings ..............................................................................................3-9 table 3-16. -linekind option settings .....................................................................................3-9 table 3-17. -linekind option settings (detailed settings) .................................................. 3-10 table 3-18. -separate option settings ................................................................................ 3-10 table 3-19. -sort option settings .......................................................................................... 3-11 table 3-20. cross-reference listing option ............................................................................ 3-12 table 3-21. -xform option settings ....................................................................................... 3-12 table 3-22. report listing option ............................................................................................. 3-12 table 3-23. document listing options ..................................................................................... 3-13 table 3-24. call tree listing option ......................................................................................... 3-15 table 3-25. module listing options .......................................................................................... 3-15 table 4-1. relationship between components of contents and program units ............... 4-25 table 4-2. reserved item names in the format definition file .......................................... 4-34 table 5-1. error messages ........................................................................................................5-2 doc17k user's manual toc - 5
toc - 6 doc17k user's manual contents [memo]
chapter 1 general the document processor (doc17k) extracts program information from relocatable assembler (RA17K) or c compiler (emlc-17k) source programs and documents the information in a specified format. 1.1 configuration the multi-functional document processor consists of several sets of utilities and programs that manage these utilities. figure 1-1. doc17k functions (note) available only when emlc-17k is used. memory map generation functions map17k amap17k mod17k doc17k document processor document generation functions cross-reference generation functions xref17k pub17k report writing function rep17k: report listing utility : module map listing utility : program map listing utility : address map output (produced with the module listing utility) spec17k mod17k tree17k (note) : document listing utility : module listing utility : call tree listing utility : cross-reference listing utility : public cross-reference listing utility doc17k user's manual 1 - 1
1 - 2 doc17k user's manual chapter 1 general 1.2 outline of functions the document processor provides the following functions: (1) document generation the document processor produces the following document components: (a) contents the titles assigned to all blocks are output as a table of contents. (b) program specifications module (including routine) information in a summary format. (c) module listing a listing of each module file and its routines. (d) module configuration a call tree listing (supported only when emlc-17k is being used). (2) cross-reference (symbol cross-reference) generation the document processor can produce two kinds of listing: module-specific cross-reference listings and program public symbol cross-reference listings. (3) memory map generation (a) memory map/flag map the document processor can produce two kinds of maps: module-specific memory maps and program memory maps. (b) symbol list (4) report writing function (a) listing file reformatting (b) report (log file) reformatting
chapter 1 general doc17k user's manual 1 - 3 1.3 system configuration figure 1-2 shows the configuration of the doc17k system. figure 1-2. doc17k system configuration source file device file RA17K (relocatable assembler) emlc-17k (c compiler) rel file (.rel) intermediate prn file (.ipn) xref data file (.ixf) summary file (.sum) log file (.log) preprocessing file (.ppl) xref data file (.ixf) summary file (.sum) log file (.log) lk17 (linker) lnk file (.lnk) doc17k (document processor) absolute address format listing (.prn) C> output with list17k cross-reference listing (.xrf) C> output with xref17k public cross-reference listing (.pub) C > output with pub17k report listing (.rep) C> output with rep17k module map listing (.map) C> output with map17k program map list (.amp) C> output with amap17k document listing (.spc) C> output with spec17k module listing (.mod) C> output with mod17k call tree listing (.tre) C> output with tree17k available only when emlc-17k is used.
1 - 4 doc17k user's manual chapter 1 general 1.3.1 files that are referenced or created (1) files that are referenced (a) rel file (.rel) a file of relocatable object codes and assembly (or compilation) information, produced by RA17K or emlc-17k . a lnk file (.lnk) must be specified at the same time, by specifying the -lnk option. (b) log file (.log) a file recording the messages output by RA17K or emlc-17k upon assembly or compilation. (c) intermediate prn file (.ipn) an assembly result list file produced by RA17K. (d) preprocessing file (.ppl) a precompilation result list file produced by emlc-17k . (e) cross-reference data file (.ixf) an information file used to produce a symbol cross-reference listing. (f) summary file (.sum) a file of information defined by a summary pseudo instruction. (2) files that are created (a) absolute address format listing (.prn) an edited listing, represented in absolute address format, of the contents of an intermediate prn file, along with the address and object codes stored in it. (b) cross-reference listing (.xrf) an edited listing of cross-reference information. (c) public cross-reference listing (.pub) an edited listing of cross-references between the public symbols of a program. (d) module map listing (.map) a module-specific data memory map, presented as a table. (e) program map listing (.amp) a program data memory map, presented as a table.
chapter 1 general doc17k user's manual 1 - 5 (f) report listing (.rep) run-time information, produced by RA17K or emlc-17k , presented as a listing. (g) document listing (.spc) summary information, and information derived from an intermediate prn file, presented as a document. (h) call tree listing (.tre) a tree listing of all the functions defined and referenced by emlc-17k . (i) module listing (.mod) a module file-specific routine listing, which may contain a program address map if needed. 1.4 operating environment doc17k requires the operating environment described below: ? host machine : nec pc-9800 series ibm pc/at tm ? os : ms-dos tm ver.3.30 or higher pc dos tm ver.5.02 or higher ? main memory : 640k bytes or more. at least 400k bytes of free memory is required. ? extended memory (ems) : at least 1m byte of extended memory is recommended. ? external storage : at least 1m byte. (the use of a hard disk is recommended.) 1.5 environmental variable the following environmental variable is used with doc17k: tmp: specifies a temporary file search path. if more than one path is specified, only that specified first becomes valid. paths are used in the following order: <1> if a work path option (-work) is specified, temporary files are created on that path. <2> if environmental variable tmp is specified, temporary files are created on that path. <3> if neither <1> nor <2> is specified, temporary files are created on the current path.
1 - 6 doc17k user's manual chapter 1 general 1.6 limitations the limitations imposed on doc17k are summarized below: (1) utilities other than map17k support up to 8,000 symbols. map17k supports up to 6,000 symbols for each data memory bank of the device (17k series). if ems memory is available, a symbol area is allocated in ems memory; otherwise, it is allocated in main memory. when ems memory is not available, the number of symbols supported is limited by the amount of free main memory. (2) during list processing, a work area is allocated as needed. the size of the allocated work area depends on the number of symbols to be processed. the size of the work area that can be allocated is limited by the amount of free main memory in the host.
chapter 2 running the document processor 2.1 execution the document processor runs the individual listing utilities for which options have been specified. run the document processor (doc17k) to produce all the listings at one time. the listing utilities may also be run independently. 2.1.1 execution procedure (1) command ? running doc17k >doc17k[.exe]-lnk=[-


▲Up To Search▲   

 
Price & Availability of RA17K

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X